import java.util.Scanner;

public class q32 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        int a=1;
        double max=0;

        while (a<11){
            System.out.println("请输入第"+a+"个数");
            double b=input.nextDouble();
            if (b>max){
                max=b;
            }
            a++;
        }
        System.out.println("最大值为"+max);

    }
}
